package dxcorp.dxadminapi.common;

public class Constants {

//    public static final int RESULT_CODE_SUCCESS = 200;  // 成功处理请求
    public static final int RESULT_CODE_BAD_REQUEST = 412;  // 请求错误
    public static final int RESULT_CODE_NOT_LOGIN = 402;  // 未登录
    public static final int RESULT_CODE_PARAM_ERROR = 406;  // 传参错误
    public static final int RESULT_CODE_SERVER_ERROR = 500;  // 服务器错误


    public static final int RESULT_CODE_SUCCESS = 20000;  // 成功处理请求
    public static final int RESULT_CODE_Illegaltoken = 50008;  // Illegal token
    public static final int RESULT_CODE_Otherclientsloggedin = 50012;  // Other clients logged in
    public static final int RESULT_CODE_PARAM_Tokenexpired = 50014;  // Token expired;

    public final static String FILE_PRE_URL = "http://localhost:8080";//上传文件的默认url前缀，根据部署设置自行修改
    public final static String FILE_UPLOAD_PATH = "/home/project/upload/";//上传文件的保存地址，根据部署设置自行修改

}
